'''
Created on 2014-3-25

@author: xizhzhao
'''
import urllib2
from bs4 import BeautifulSoup

url = 'http://www.qlrc.com/personal/jb3910520.html'
c = urllib2.urlopen(url)
# f = open("C:\\Users\\xizhzhao\\Desktop\\1.html")
soup = BeautifulSoup(c.read())
print soup.html
com_div = soup.find('div', {'class', 'DivCompany'})
print com_div
# f.close()

